package com.lifeng.start.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by lifeng on 2019/2/25.
 * 用于接受配置文件中以starter.hello 开头的属性
 */
@ConfigurationProperties(prefix = "starter.hello")
public class HelloServiceProperteis {
    private String id;
    private String name;
    private Integer age;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
